package com.xl.utils.model.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author xionglin
 * @Classname UserInfoVO
 * @Description TODO
 * @Date 2019/6/24 16:25
 */
@Data
public class UserInfoVO extends BaseRowModel implements Serializable {
 /*   private Integer classId;
    private Integer gradeId;
    private Integer age;
    private String name;
    private String className;
    private String gradeName;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date birthday;*/

    @ExcelProperty(value = "名字",index = 0)
    private String name;
    @ExcelProperty(value = "年龄",index = 1)
    private Integer age;
    @ExcelProperty(value = "班级",index = 2)
    private String className;
    @ExcelProperty(value = "年级",index = 3)
    private String gradeName;
    @ExcelProperty(value = "班级id",index = 4)
    private Integer classId;
    @ExcelProperty(value = "年级id",index = 5)
    private Integer gradeId;
    @ExcelProperty(value = "生日",index = 6,format = "yyyy-MM-dd")
   // @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date birthday;
}
